c# use cefcharp and selenium can

54

c# use cefcharp and selenium can? -

var service = ChromeDriverService.CreateDefaultService(@"C:\chromedriver");
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.AddArgument("--remote-debugging-port=1234");
chromeOptions.BinaryLocation = @"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe";
IWebDriver driver = new ChromeDriver(service, chromeOptions); 
driver.Navigate().GoToUrl("http://www.google.com.com");
driver.Quit();

Comments

Submit
0 Comments